﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace AsTekMobile
{
    public partial class frmAyar : Form
    {
        public frmAyar()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Program.Session[Settings.ServiceUrl] = txtUrl.Text;
            Program.Session[Settings.YaziciPort] = txtPort.Text;
            Program.Session.CloseSession();
            this.Close();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            if (Sip.Visible)
            {
                Sip.Visible = false;
            }
            else
            {
                Sip.Visible = true;
            }
        }
    }
}